View Issue Details

IDProjectCategoryView StatusLast Update
0001697K18X001.00 SKB SWANSWpublic2024-09-03 15:37
Reporter(ALTech) Sangmin Choi Assigned To(ALTech) Sangmin Choi Due Date2023-04-07 18:00
PrioritynormalSeveritys4-minorReproducibilitysometimes
Status closedResolutionwon't fix 
Summary0001697: There is no screen when the youtube application started.
DescriptionI got the issue from customer that there is no screen when the youtube application started.

Could you please check the attached logcat?

I found weird points as follows.

[Memory Alloc Fail]
---------------------------------------------------
dmesg.txt:33:[Mon Mar 27 15:00:20 2023] memtrack@1.0-se: page allocation failure: order:4, mode:0x240c0c0(GFP_KERNEL|__GFP_COMP|__GFP_ZERO)
dmesg.txt:85:[Mon Mar 27 15:26:00 2023] memtrack@1.0-se: page allocation failure: order:4, mode:0x240c0c0(GFP_KERNEL|__GFP_COMP|__GFP_ZERO)
dmesg.txt:120:[Mon Mar 27 15:26:12 2023] memtrack@1.0-se: page allocation failure: order:4, mode:0x240c0c0(GFP_KERNEL|__GFP_COMP|__GFP_ZERO)
dmesg.txt:155:[Mon Mar 27 15:27:57 2023] memtrack@1.0-se: page allocation failure: order:4, mode:0x240c0c0(GFP_KERNEL|__GFP_COMP|__GFP_ZERO)
---------------------------------------------------

[Application is not responding]
---------------------------------------------------
merged_main.log:8980:03-27 15:44:55.896 806 965 I InputDispatcher: Application is not responding: AppWindowToken{1fa1627 token=Token{aa730e6 ActivityRecord{4871341 u0 com.google.android.youtube.tv/com.google.android.apps.youtube.tv.activity.MainActivity t695}}}. It has been 5802.8ms since event, 5001.6ms since wait started. Reason: Waiting because no window has focus but there is a focused application that may eventually add a window when it finishes starting up.
merged_main.log:9391:03-27 15:47:59.456 806 965 I InputDispatcher: Application is not responding: AppWindowToken{1fa1627 token=Token{aa730e6 ActivityRecord{4871341 u0 com.google.android.youtube.tv/com.google.android.apps.youtube.tv.activity.MainActivity t695}}}. It has been 5004.9ms since event, 5001.1ms since wait started. Reason: Waiting because no window has focus but there is a focused application that may eventually add a window when it finishes starting up.
merged_main.log:9417:03-27 15:48:04.479 806 965 I InputDispatcher: Application is not responding: AppWindowToken{1fa1627 token=Token{aa730e6 ActivityRecord{4871341 u0 com.google.android.youtube.tv/com.google.android.apps.youtube.tv.activity.MainActivity t695}}}. It has been 9847.6ms since event, 5000.6ms since wait started. Reason: Waiting because no window has focus but there is a focused application that may eventually add a window when it finishes starting up.
---------------------------------------------------

[RCU Operation]
15:44:45.018 -> KEYCODE_SKB_FUNC_13(RCU 베터리 잔량 - Normal Battery (home 키 입력시, 발생됨))
15:44:45.273 -> KEYCODE_SKB_FUNC_13(RCU 베터리 잔량 - Normal Battery (home 키 입력시, 발생됨))
15:44:47.660 -> KEYCODE_DPAD_UP
15:44:48.040 -> KEYCODE_DPAD_UP
15:44:48.728 -> KEYCODE_DPAD_RIGHT
15:44:49.019 -> KEYCODE_DPAD_RIGHT
15:44:49.595 -> KEYCODE_DPAD_CENTER
15:44:50.098 -> KEYCODE_DPAD_CENTER // Start the youtube app
15:44:55.945 -> KEYCODE_DPAD_CENTER // There is just one event for rcu input??
15:47:54.455 -> KEYCODE_BACK
15:47:59.478 -> KEYCODE_BACK
15:48:04.504 -> KEYCODE_BACK
15:48:04.505 -> KEYCODE_BACK
15:48:04.506 -> KEYCODE_BACK
15:48:04.508 -> KEYCODE_BACK
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List (SW) Jacky Chiang , (SW) Jason Ling

Activities

(ALTech) Sangmin Choi

2023-04-03 14:27

developer  

download_voc.zip (2,381,766 bytes)

(ALTech) Sangmin Choi

2023-04-03 14:27

developer   ~0012707

Hello, Jacky,

Could you please assign an engineer for this issue?

Thank you.

(ALTech) Sangmin Choi

2023-04-03 14:35

developer   ~0012708

(SW) Jason Ling

2023-04-07 17:46

developer   ~0012760

Hi Sangmin,

I agree with your opinion. Can you reproduce it on your side?
If we can reproduce it with "Memory Alloc Fail", I think we can report it to Synaptics.

Did the Customer service try to "force stop" YouTube in TvSettings when issue occurred? Did it work ?

Thanks,
Jason

(ALTech) Sangmin Choi

2023-04-11 14:57

developer   ~0012802

Hi, Jason,

I can't access to customer's device, so I can't run the command such as "force stop".

BFX-UA300:/ # free -h
        total used free shared buffers
Mem: 1.7G 1.6G 38M 29M 3.4M
-/+ buffers/cache: 1.6G 42M
Swap: 1.0G 111M 913M

When conducting channel switching tests, the free size of swap memory gradually decreases.
It seems that memtrack error occurs when the free size of swap memory is very low.

Could you write a test program that allocates swap memory arbitrarily to check whether memtrack and YouTube issues occur when swap memory is insufficient?

Thank you.
Sangmin Choi.

(SW) Jason Ling

2023-04-11 18:15

developer   ~0012817

Hi Sangmin,

I can not accept your request (writing the test program), The request is not part of the specification.

Thanks,
Jason

(ALTech) Sangmin Choi

2023-04-11 19:25

developer   ~0012819

Hello, Jason,

Ok, so could you please let me know your plan to fix this issue?

Thank you.

(SW) Jason Ling

2023-04-12 15:50

developer   ~0012828

Hi Sangmin,

I've discussed your request with River, If this issue related to swap memory, we think that all apps allocate memory will fail (not only YouTube).
Currently, according to your comment, we don't think this case related to swap.

Thanks,
Jason

(ALTech) Sangmin Choi

2023-04-12 16:22

developer   ~0012829

Hi, Jason,

Ok, I see.

There is a possibility that my assumptions could be incorrect.
If so, please analyze the logs I provided from the beginning.
If it's difficult to determine the cause through log analysis, please conduct a reproduction test at FXN.
This issue actually occurs sometimes in the field.

Thank you.
Sangmin Choi.

(SW) Jason Ling

2023-04-13 11:21

developer   ~0012836

Hi Sangmin,

Did SKB collect ANR log? I need to ANR log to analyze.

[Application is not responding]
---------------------------------------------------
merged_main.log:8980:03-27 15:44:55.896 806 965 I InputDispatcher: Application is not responding: AppWindowToken{1fa1627 token=Token{aa730e6 ActivityRecord{4871341 u0 com.google.android.youtube.tv/com.google.android.apps.youtube.tv.activity.MainActivity t695}}}. It has been 5802.8ms since event, 5001.6ms since wait started. Reason: Waiting because no window has focus but there is a focused application that may eventually add a window when it finishes starting up.
merged_main.log:9391:03-27 15:47:59.456 806 965 I InputDispatcher: Application is not responding: AppWindowToken{1fa1627 token=Token{aa730e6 ActivityRecord{4871341 u0 com.google.android.youtube.tv/com.google.android.apps.youtube.tv.activity.MainActivity t695}}}. It has been 5004.9ms since event, 5001.1ms since wait started. Reason: Waiting because no window has focus but there is a focused application that may eventually add a window when it finishes starting up.
merged_main.log:9417:03-27 15:48:04.479 806 965 I InputDispatcher: Application is not responding: AppWindowToken{1fa1627 token=Token{aa730e6 ActivityRecord{4871341 u0 com.google.android.youtube.tv/com.google.android.apps.youtube.tv.activity.MainActivity t695}}}. It has been 9847.6ms since event, 5000.6ms since wait started. Reason: Waiting because no window has focus but there is a focused application that may eventually add a window when it finishes starting up.

Thanks,
Jason

(ALTech) Sangmin Choi

2023-04-13 12:29

developer   ~0012839

Hi, Jason,

No, there is no ANR file in collected files.

Thank you.
Sangmin Choi.

(ALTech) Sangmin Choi

2024-09-03 15:37

developer   ~0016646

I will reopen this issue when it is reviewed in the future.

Issue History

Date Modified Username Field Change
2023-04-03 14:27 (ALTech) Sangmin Choi New Issue
2023-04-03 14:27 (ALTech) Sangmin Choi Status new => assigned
2023-04-03 14:27 (ALTech) Sangmin Choi Assigned To => (SW) Jacky Chiang
2023-04-03 14:27 (ALTech) Sangmin Choi File Added: download_voc.zip
2023-04-03 14:27 (ALTech) Sangmin Choi Note Added: 0012707
2023-04-03 14:35 (ALTech) Sangmin Choi Note Added: 0012708
2023-04-03 14:35 (ALTech) Sangmin Choi File Added: 0130000101_20230307_A8_93_4A_FE_DA_16.zip
2023-04-03 14:35 (ALTech) Sangmin Choi File Added: 0130000101_20230331_A8_93_4A_FE_B6_F7.zip
2023-04-05 21:30 (SW) Jason Ling Issue Monitored: (SW) Jason Ling
2023-04-05 21:37 (SW) Jason Ling Assigned To (SW) Jacky Chiang => (SW) Jason Ling
2023-04-07 17:46 (SW) Jason Ling Note Added: 0012760
2023-04-07 17:46 (SW) Jason Ling Assigned To (SW) Jason Ling => (ALTech) Sangmin Choi
2023-04-11 14:57 (ALTech) Sangmin Choi Note Added: 0012802
2023-04-11 16:09 (SW) Jason Ling Issue Monitored: (SW) Jacky Chiang
2023-04-11 18:15 (SW) Jason Ling Note Added: 0012817
2023-04-11 19:25 (ALTech) Sangmin Choi Note Added: 0012819
2023-04-12 15:50 (SW) Jason Ling Note Added: 0012828
2023-04-12 16:22 (ALTech) Sangmin Choi Note Added: 0012829
2023-04-13 11:21 (SW) Jason Ling Note Added: 0012836
2023-04-13 12:29 (ALTech) Sangmin Choi Note Added: 0012839
2024-09-03 15:37 (ALTech) Sangmin Choi Note Added: 0016646
2024-09-03 15:37 (ALTech) Sangmin Choi Status assigned => closed
2024-09-03 15:37 (ALTech) Sangmin Choi Resolution open => won't fix